package com.itheima.api_date.instant;

import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

/**
 * @author Anomaly
 * @date 2022/12/29 17:39
 */
public class Test {
    public static void main(String[] args) {
        Instant now = Instant.now();
        System.out.println(now);
        System.out.println(now.atZone(ZoneId.systemDefault()));
    }
}
